package com.zyl.service;

import com.zyl.pojo.Article;
import com.zyl.vo.AdminArticleVo;
import com.zyl.vo.ArticleVo;

import java.util.List;

/**
 * @Author: Zyl
 * @Param:
 * @return:
 * @Description:
 */
public interface ArticleService {
    public ArticleVo findAll();
    public AdminArticleVo findArticleByArticleId(Long articleId);
    public void updateArticleByArticleId(Article article);
    public void insertArticle(AdminArticleVo adminArticleVo);
    public void deleteArticleByArticleId(Long articleId);
    public Integer articleCount();
}
